package com.example.demo.mapper;

import com.example.demo.pojo.Fruit;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface FruitMapper {
    List<Fruit> list();

    Fruit selectById(Integer id);

    Integer add(Fruit fruit);


    Integer delete(Integer id);

    Integer update(Fruit fruit);
}
